﻿using BaseData.ErrorCode;
using MediatR;

namespace BaseData.API.Write.Applications.Commands
{
    /// <summary>
    /// 添加用户配置角色--请求
    /// </summary>
    public class AddUserCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? UserPass { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string? UserNickname { get; set; }
        /// <summary>
        /// 角色编号集合
        /// </summary>

        public List<int> RoleIds { get; set; }
    }
}
